package com.gitee.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gitee.pojo.Cookbook;
import com.gitee.vo.CookbookVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CookbookMapper extends BaseMapper<Cookbook> {

    List<CookbookVo> selectCookbookVos(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize,
                                       @Param("eatTime") String eatTime, @Param("cookbookType") Integer cookbookType);
}
